package com.tancire.arts.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tancire.common.annotation.Excel;
import com.tancire.common.core.domain.BaseEntity;

/**
 * 作品集对象 note_composition
 *
 * @author chenchao
 * @date 2024-09-23
 */
public class NoteComposition extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 作品集名称 */
    @Excel(name = "作品集名称")
    private String noteName;

    /** 作品介绍 */
    @Excel(name = "作品介绍")
    private String noteDesc;

    /** 图标 */
    @Excel(name = "图标")
    private String noteIcon;

    /** 0 正常  1 删除  真删除，字段保留 */
    private Long delFlag;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }
    public void setNoteName(String noteName) {
        this.noteName = noteName;
    }

    public String getNoteName() {
        return noteName;
    }
    public void setNoteDesc(String noteDesc) {
        this.noteDesc = noteDesc;
    }

    public String getNoteDesc() {
        return noteDesc;
    }
    public void setNoteIcon(String noteIcon) {
        this.noteIcon = noteIcon;
    }

    public String getNoteIcon() {
        return noteIcon;
    }
    public void setDelFlag(Long delFlag) {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("noteName", getNoteName())
            .append("noteDesc", getNoteDesc())
            .append("noteIcon", getNoteIcon())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
